ResourceLock Method (String, String) |
Lock a resource based on the given parameters.
Namespace:
Independentsoft.Webdav
Assembly:
Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntaxpublic ActiveLock Lock(
string address,
string depth
)
Public Function Lock (
address As String,
depth As String
) As ActiveLock
Parameters
- address
- Type: SystemString
The URI of the resource to lock. - depth
- Type: SystemString
The depth of lock. Allowed values are: Depth.Zero and Depth.Infinity
Return Value
Type:
ActiveLockAn ActiveLock as result of lock operation.
See Also